package com.wcx.application.service.Impl;

import com.wcx.application.domian.IndustriesBean;
import com.wcx.application.domian.JobDetailBean;
import com.wcx.application.mapper.IndustriesMapper;
import com.wcx.application.mapper.JobDetailMapper;
import com.wcx.application.service.IndustriesService;
import com.wcx.application.service.JobDetailService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class JobDetailServiceImpl implements JobDetailService {
    @Autowired
    JobDetailMapper jobDetailMapper;

    @Override
    public List<JobDetailBean> getList() {
        return jobDetailMapper.getList();
    }

    @Override
    public int update(JobDetailBean jobDetailBean) {
        return jobDetailMapper.update(jobDetailBean);
    }

    @Override
    public int delete(int id) {
        return jobDetailMapper.delete(id);
    }


    @Override
    public int create(JobDetailBean jobDetailBean) {
        return jobDetailMapper.create(jobDetailBean);
    }

    @Override
    public List<JobDetailBean> searchList(JobDetailBean jobDetailBean) {
        return jobDetailMapper.searchList(jobDetailBean);
    }



}
